home *** CD-ROM | disk | FTP | other *** search
/ CU Amiga Super CD-ROM 21 / CU Amiga Magazine's Super CD-ROM 21 (1998)(EMAP Images)(GB)[!][issue 1998-04].iso / CUCD / Utilities / PPC / PPCGNUtar / PPCGNUtar16.readme < prev    next >
Encoding:
Text File  |  1998-02-07  |  13.1 KB  |  272 lines

  1. Short: GNUTar 1.11.2, powerUP (TM) V1.6 (PPC), plus source
  2. Type: util/arc
  3. Uploader: Andreas_Kleinert@t-online.de
  4. Author: (various), Andreas R. Kleinert (port)
  5.  
  6.  GNUTar Amiga powerUP (TM) PPC Port of V1.11.2 (no ixemul)
  7.  (originally from 25 Mar 1993)
  8.  
  9.  Amiga powerUP (TM) PPC Port release version: V1.6
  10.  Release Date:                                07.02.1998
  11.  ------------------------------------------------------------------
  12.  1995-97 rework, SAS/C V6.58 recompilation, GNUTar V1.11+ adaption,
  13.  and 68030, 040, 060 version and 1998 powerUP (TM) PPC version
  14.  by Andreas R. Kleinert (email below).
  15.  
  16.  Original port of GNUTar V1.09 done by Ed Berger (email below).
  17.  
  18.  
  19.  About
  20.  -----
  21.  When extracting TAR archives on the AMIGA there always had been a problem:
  22.  the only available GNUTar port was hard to find and if you got it
  23.  finally, it was quite old and just unoptimized for higher 68k CPUs.
  24.  
  25.  On the other hand, a simple recompilation wasn't easy for most people,
  26.  since the GNU-C (GCC) Compiler isn't very widely used and adaptions
  27.  for other compilers aren't that easy (as I finally found out ;-)
  28.  
  29.  My first step to solve this problem was porting the nice, small and
  30.  handy "DeTar" utility from MS-DOS to Amiga (util/arc/DeTar12.LHA).
  31.  
  32.  The usage was really simple and easy, since you'd just had to call
  33.  "DeTar [archive]" and the whole archive would have been unpacked.
  34.  While searching for Bugs within DeTar (thus using the available GNUTar
  35.  port) I decided to port GNUTar directly (since there actually appeared
  36.  some effects I thought of as bugs of DeTar, but as well possibly
  37.  could have been bugs of the Amiga version of GNUTar ;-)
  38.  
  39.  So there suddenly was a new SAS/C V6.55 port of GNUTar for the Amiga,
  40.  which wasn't perfect at all, but was thought as a base for further
  41.  actions by other people (or me :-)
  42.  
  43.  People greatly reacted on this new GNUTar port and reported bugs
  44.  as well as requested updates, which should make use of features
  45.  of newer GNUTar versions.
  46.  
  47.  So I dropped the old V1.09 sources ported by Ed Berger and began
  48.  porting V1.11.2 (a beta test release) to the Amiga, still using
  49.  some of the old port stubs (but GCC stuff became useless now).
  50.  
  51.  Yet did not succeed in correctly porting 1.11.8
  52.  (even did not try since April '96 ;-)
  53.  
  54.  
  55.  Known Problems
  56.  --------------
  57.  Please note:
  58.  
  59.   - SAS/C did report about some actually uninitialized variables
  60.     and such a stuff. I did not fix that, since perhaps the concerned
  61.     routines are not often used, and since it might soon become too
  62.     much work actually digging in that code. Maybe it has been fixed
  63.     for newer versions - if not, one perhaps should report it to
  64.     the authors...
  65.     (they don't seem to have so attentive compilers ;-))
  66.  
  67.   - some of the defines and/or functions, which hadn't be present
  68.     for the GCC are actually available for SAS/C and vice versa.
  69.     So there are still some dummy-functions or (hopefully)
  70.     equivalent replacements for such things.
  71.     See the files "sas_amiga.c" and "sas_amiga2.c" for code-replacements
  72.     and the headers within "sasinclude/" and "sasinclude/sys/"
  73.     for additional defines.
  74.     I went this way, since this prevented me from changing _much_
  75.     within the original source - altough sometime it looks a little
  76.     bit like a hack.
  77.  
  78.     But the most important thing to be done was setting definitions
  79.     and compiler options in the best way and then fill in the missing
  80.     parts (sounds easier, than it was %-)
  81.  
  82.     See source/CHANGES.AMIGA for more actual changes to the source.
  83.  
  84.   - ahm...well: while compiling there occured several problems
  85.     (warnings, missing functions, which had to be substituted
  86.     by well-enough-dummies, etc.). So remember: it works, but
  87.     there's really no guarantee for anything !
  88.  
  89.   -  it seems to run stable and to be useful nevertheless :-)
  90.  
  91.  Disclaimer
  92.  ----------
  93.  There's no guarantee or responsability taken for anything.
  94.  For the rest, please take a look into the included GNU license.
  95.  
  96.  Who did the port
  97.  ----------------
  98.  Andreas R. Kleinert, Fido   2:2457/350.18
  99.                       UseNet Andreas_Kleinert@superview.ftn.neckar-alb.de
  100.                              Andreas_Kleinert@t-online.de
  101.                              ARK@News.wwbnet.de
  102.  
  103.  I've also been known as the author of SuperView(-Library), some
  104.  datatypes (SVG, akJFIF, akPNG) and so on...
  105.  
  106.  Contributors
  107.  ------------
  108.    - Ed Berger              - Stefan Becker        - Christopher P. Parris
  109.    - Kjell Irgens           - Osma Ahvenlampi      - Regis Rampnoux
  110.    - Christian Bauernfeind  - David Balazic
  111.  
  112.  Port Version History
  113.  --------------------
  114.   V1.6   (7.2.1998):   - recompilation with SAS/C for powerUP (TM)
  115.                          PPC boards; hopefully everything still
  116.                          works as with the V1.5 version for 68k
  117.  
  118.   V1.5   (23.8.1997):  - completely recompiled with SAS/C V6.58
  119.                        - better optimization
  120.                        - updated eMail adresses
  121.                        - there's another version on Aminet,
  122.                          check it out (maybe it's better ;)
  123.  
  124.   V1.4   (12.11.1996): - completely recompiled with SAS/C V6.57
  125.                        - now different versions for
  126.                          68000, 030, 040 and 060
  127.                        - optimizing for time, not size
  128.                        - new GST
  129.                        - updated eMail adresses
  130.  
  131.   V1.3   (19.04.1996): - V1.1/1.2 had a serious bug in archive creation,
  132.                          since I did not insert the "#ifdef AMIGA" code
  133.                          fragments, which Ed Berger added to access
  134.                          devices and paths in an AmigaDOS-conformeous way
  135.                          (-> Stefan Becker, stefanb@yello.ping.de,
  136.                           who seemed to be the only one actually
  137.                           *creating* archives with GNUtar ?!)
  138.                          Fixed by adding the specific parts of 1.09-create.c
  139.                          to 1.11.2.-"create.c" only
  140.                        - GNUtar could not extract any files containing
  141.                          ":" in their names, since AmigaDOS would think
  142.                          these were actually devices (or bad device-names
  143.                          containing more than one ":").
  144.                          Fixed within "extract.c" where these additional
  145.                          ":" will be replaced by "_", also giving a
  146.                          warning message.
  147.                          (-> Christopher P. Parris, CPP1233@tntech.edu)
  148.                        - Why did I port such an old version ?
  149.                          (-> Kjell Irgens, kjelli@stud.cs.uit.no)
  150.                          Well, first I had not newer sources. Then, when
  151.                          I found one, I tried to port 1.11.8 (yesterday),
  152.                          but it seems as if the compilter produces broken
  153.                          code with unreproduceable crashes.
  154.                          It was a lot easier fixing 1.11.2 instead of
  155.                          straightly porting 1.11.8 with these fixes.
  156.                          Nevertheless, it may follow-up.
  157.  
  158.   V1.2   (11.03.1996): - fully recompiled with SAS/C V6.56
  159.                        - added Osma Ahvenlampi's fix for the
  160.                          1.0.2 protection bit problem (archive
  161.                          appeared at "util/shell" on AmiNet).
  162.  
  163.                          I adapted it to the new 1.11.2 source and
  164.                          changed the way binding it into the source
  165.                          (fully via REDEFINES.WTH, no changes to tar.h,
  166.                           thus had to call lstat() from sas_amiga.c instead
  167.                           of stat() to avoid recursion).
  168.  
  169.                          Here's what Osma originally said:
  170.  
  171.                          'This patch makes an attempt to translate Amiga
  172.                          protection bits to the closest UNIX equivalents.
  173.                          When extracting UNIX archives, it also sets the
  174.                          group and world bits as specified in the archive,
  175.                          for those with multiuser filesystems.
  176.                          When creating an archive, these bits are
  177.                          unfortunately not retained, since SAS/C's stat()
  178.                          function ignores them.'
  179.                          (-> Osma.Ahvenlampi@hut.fi)
  180.  
  181.   V1.1   (16.09.1995): - did change version counting: it's too
  182.                          confusing the old way.
  183.                          The original version number of the GNUTar
  184.                          we base on, still is mentioned at the top of
  185.                          this documentation
  186.                        - completely redid the port: we now do use
  187.                          the original GNUTar 1.11.2 (a so-called beta
  188.                          test release) instead of the AMIGA/GCC-adapted
  189.                          GNUTar 1.09.
  190.                          Kind of an update: I simply copied the new
  191.                          source over the old one, changed the compiler
  192.                          settings, added some more include files and
  193.                          resolved all inconsistencies - of course
  194.                          *without directly changing any piece* of
  195.                          the original GNU C-Sources!
  196.                          (-> Regis Rampnoux, ...)
  197.                        - README and GNU-License (COPYING) also have been
  198.                          updated - old GNU license replaced by newer one.
  199.                          There was no update to Tar.man - sorry
  200.                          (but I added a specific note to it, to cover this).
  201.                        - removed some GCC-addon's, which Ed Berger had
  202.                          designed for V1.09, but which won't work with
  203.                          V1.11.2 any longer. You may take them from
  204.                          Amiga release V1.0.2 (23.07.1995) and adapt them
  205.                          - if you like or need them for GCC.
  206.                        - again did change chmod() - there was a mysterious
  207.                          effect, which caused it to be restored to the
  208.                          old, wrong way
  209.                        - replaced 68030 and 68040 versions by a combined
  210.                          68030/040 version, since SAS/C does not
  211.                          actually make any differences for our code.
  212.  
  213.   V1.0.2 (23.07.1995): - hey, found out that the base version actually
  214.                          had been released as V1.09.
  215.                          Added note to this readme.
  216.                        - two people complained, that my GNUTar port did
  217.                          not set correct flags out of "hsparwed" for the
  218.                          amiga files when extracting from archives, as the
  219.                          old GNUTar did.
  220.                          Well, foudn out, that the old one just _did_ _not_
  221.                          _change_ the default flags (always "rwed") and
  222.                          we're now just doing the same, since the mode
  223.                          field of unix TARs is either broken ("hpw" always
  224.                          after conversion Unix->Amiga) or SAS/C's definition
  225.                          for the S_IREAD (and so on) flags aren't compatible.
  226.                          Now "rwed" will be set always.
  227.                          You may change this behaviour within "sas_chmod()"
  228.                          in "sas_amiga.c".
  229.                          (-> bussjaeg@informatik.tu-muenchen.de;
  230.                           Christian Bauernfeind,
  231.                           crisbf@theorie3.physik.uni-erlangen.de)
  232.                        - mkdir(), which needs only one argument with SAS/C
  233.                          had been called with two (got warnings).
  234.                          Now we're doing this:
  235.                            #define mkdir(x, y) mkdir(x)
  236.                          Well, it works ;-)
  237.  
  238.   V1.0.1 (07.07.1995): - re-compiled with SAS/C V6.55
  239.                        - added 68040 version
  240.                        - removed object files from archive due to size
  241.                        - fixed bug note in documentation; was not a bug
  242.                          (-> David Balazic, david.balazic@uni-mb.si)
  243.  
  244.   V1.00  (23.03.1995): - first release, compiled with SAS/C V6.51
  245.  
  246.  
  247. Original Docs
  248. -------------
  249. Following is, what Ed Berger originally wrote in "readme.1st"
  250. for V1.09. As with Amiga release V1.1 (GNUTar V1.11.2, first port release)
  251. I re-switched to the original GNU-sources in combination with some
  252. of the old code-workarounds:
  253.  
  254. ****************************************************************************
  255.  
  256. I was looking for a tar program for the Amiga, since the gcc distribution,
  257. and minix distribution files are often in this format.  Tarsplit from an
  258. old fish disk was not sufficient.  I kept hearing about gnu-tar, but
  259. never saw it archived anywhere, until now.
  260.  
  261. Since I was not able to find gnu-tar, under any separate archive on the
  262. fish disks, or on my favorite ftp-sites, I pulled this out of the UUCP
  263. distribution from uunet.  The binary and man page were on disk 2, and
  264. the source files were on disk 3.  I hope that I didn't miss anything
  265. important.  I apologize for any inconvenience this may cause.  If in doubt
  266. go back to the UUCP distribution.
  267.  
  268. -Ed Berger
  269.  eb15@andrew.cmu.edu
  270.  
  271. ****************************************************************************
  272.